package com.cloudkinto.service.finance.vo;

import com.cloudkinto.common.utils.StringsUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * Author Administrator
 * 消费记录列表data
 *
 * @Des
 * @Version
 * @Date 2020/6/12
 */
@Data
@ApiModel
public class CostRecordListRes {
    @ApiModelProperty(value = "支出单号")
    private Long id;
    @ApiModelProperty(value = "支出类型")
    private String type;
    @ApiModelProperty(value = "支出内容")
    private String content;
    @ApiModelProperty(value = "支出前余额")
    private Double beforeAmount;
    @ApiModelProperty(value = "支出后余额")

    private Double afterAmount;
    @ApiModelProperty(value = "支出金额")

    private Double costAmount;
    @ApiModelProperty(value = "所属店铺")
    private String shop;
    @ApiModelProperty(value = "状态")
    private String status;
    //    @ApiModelProperty(value = "出入库单号")
//    private String thirdId;
    @ApiModelProperty(value = "发生时间")
    private Date createTime;
    @ApiModelProperty(value = "公司标识")
    private String companyCode;

    @ApiModelProperty(value = "扣款账户")
    private String accountType;
    @ApiModelProperty(value = "扣款时间")
    private Date payTime;

    public String getType() {
        return StringsUtil.createI18Message(type);
    }

    public String getAccountType() {
        return StringsUtil.createI18Message(accountType);
    }

    public String getStatus() {
        return StringsUtil.createI18Message(status);
    }
}
